package com.dhsc.controller.kbpzgl.pzlxwh;

import com.dhsc.domain.ywzx.kbpzgl.PzgllxxxVo;
import com.dhsc.domain.ywzx.kbpzgl.PzlxwhVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.ywzj.kbpzgl.pzlxwh.IPzlxwhService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author 凭证类型维护页面
 * @date 2024/4/9 15:44
 */
@Controller
@RequestMapping("/kbpzgl/pzlxwh")
public class PzlxwhController {

    @Autowired
    private IPzlxwhService pzlxwhService;

    /**
     * @Description:查询凭证类型维护
     * @return: com.dhsc.domain.yypt.LayuiTableVo
     * @Author: CDW
     * @Date: 2024/4/9 15:52
     * @param p:
     */
    @ResponseBody
    @RequestMapping(value="/queryPzlxwhinfo")
    public LayuiTableVo queryYjsqbshxx(PzlxwhVo p){
        return pzlxwhService.queryPzlxwhinfo(p);
    }

    /**
     * @Description:保存凭证类型维护信息
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/4/15 10:30
     * @param p:
     */
    @ResponseBody
    @RequestMapping(value="/savePzlxwhFile")
    public ResponseObject savePzlxwhFile(PzlxwhVo p){
        return pzlxwhService.savePzlxwhFile(p);
    }


    /**
     * @Description:删除凭证类型维护信息
     * @return: com.dhsc.domain.yypt.LayuiTableVo
     * @Author: CDW
     * @Date: 2024/4/16 13:39
     * @param p:
     */
    @ResponseBody
    @RequestMapping(value="/deletePzlx")
    public ResponseObject deletePzlx(PzlxwhVo p){
        return pzlxwhService.deletePzlx(p);
    }

    /**
     * @Description:查询凭证管理联系信息
     * @return: com.dhsc.domain.yypt.LayuiTableVo
     * @Author: CDW 
     * @Date: 2024/4/23 13:36
     * @param p: 
     */
    @ResponseBody
    @RequestMapping(value="/queryPzgllxxx")
    public LayuiTableVo queryPzgllxxx(PzgllxxxVo p){
        return pzlxwhService.queryPzgllxxx(p);
    }

    /**
     * @Description:保存凭证管理联系人信息
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/4/23 13:37
     * @param p:
     */
    @ResponseBody
    @RequestMapping(value="/savePzgllxxx")
    public ResponseObject savePzgllxxx(PzgllxxxVo p){
        return pzlxwhService.savePzgllxxx(p);
    }

    /**
     * @Description:查询网点凭证管理营业部信息
     * @return: com.dhsc.domain.yypt.ResponseObject
     * @Author: CDW
     * @Date: 2024/9/6 14:42
     * @param p:
     */
    @ResponseBody
    @RequestMapping(value="/queryYwzxPzglyyb")
    public ResponseObject queryYwzxPzglyyb(PzgllxxxVo p){
        return pzlxwhService.queryYwzxPzglyyb(p);
    }



}
